PGetPaperSizes
Returns a list of the paper sizes currently available.
Query results
PGetPaperSizes is a subclass of PListQuery. This query returns a list of C strings. Make sure that PListQuery::Count() > 0 before referencing these names.
const char * sName;
Name of paper source.
Example.
PGetPaperSizes paperSizes;
if (paperSizes.Count() > 0) {
strcmp(>Red>, paperSizes) == 0
}
See also
The PGetPaperSources query
The PPageSize command
Copyright © 1996, Adobe Systems Incorporated. All rights reserved.
Comments or suggestions? Contact Adobe
Developer Support